import 'normalize.css' // A modern alternative to CSS resets
import { createApp } from 'vue'
import router from './router'
import { pinia } from '@/pinia'
import { installPlugins } from '@/utils/plugins'
import App from './App.vue'

import 'normalize.css'
import 'nprogress/nprogress.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import '@/assets/styles/index.scss' // global css
// import 'element-plus/theme-chalk/el-message.css' // 已自动导入el-message.css

const app = createApp(App)

// 安装插件（全局组件、自定义指令等）
installPlugins(app)

app.use(pinia)
app.use(router)

app.mount('#app')
